<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type="text/javascript" src="../../zxt/zxt.js"></script>
  <script>
    	importZXT("../../zxt");
  </script>
	
</head>

<body>

	<div id="r1" zxt="zxt.ui.Radiobox" zxt.group="g1"></div>	  
	<div id="r2" zxt="zxt.ui.Radiobox" zxt.group="g1"></div>	  

	<table>
		<tr>
			<td>getType()</td>
			<td>返回控件类型</td>
			<td><input type="button" name="getType" value="getType" 
				onclick="alert('radio控件的type为'+$zxtUI.r1.getType());"/></td>
		</tr>
		<tr>
			<td>checked(v)</td>
			<td>返回该构件的输入值, 即单选框的选中状态</td>
			<td><input type="button" name="checked" value="checked" 
				onclick="alert('第一个radio控件的checked为'+$zxtUI.r1.checked());"/></td>
		</tr>
	</table>
	<div><a href="../index.html">返回</a></div>
</body>

</html>


<script>  
	$zxt.init();		
</script> 	